home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat3 / Tk / entry.z / entry
Encoding:
Text File  |  2002-10-03  |  27.6 KB  |  529 lines

  1.  
  2.  
  3.  
  4. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      entry - Create and manipulate entry widgets
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      eeeennnnttttrrrryyyy _p_a_t_h_N_a_m_e ?_o_p_t_i_o_n_s?
  13.  
  14. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDD OOOOPPPPTTTTIIIIOOOONNNNSSSS
  15.      bbbbaaaacccckkkkggggrrrroooouuuunnnndddd      hhhhiiiigggghhhhlllliiiigggghhhhttttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd iiiinnnnsssseeeerrrrttttOOOOnnnnTTTTiiiimmmmeeee     sssseeeelllleeeeccccttttFFFFoooorrrreeeeggggrrrroooouuuunnnndddd    |
  16.      bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh     hhhhiiiigggghhhhlllliiiigggghhhhttttCCCCoooolllloooorrrr      iiiinnnnsssseeeerrrrttttWWWWiiiiddddtttthhhh      ttttaaaakkkkeeeeFFFFooooccccuuuussss           |
  17.      ccccuuuurrrrssssoooorrrr          hhhhiiiigggghhhhlllliiiigggghhhhttttTTTThhhhiiiicccckkkknnnneeeessssssss  jjjjuuuussssttttiiiiffffyyyy          tttteeeexxxxttttVVVVaaaarrrriiiiaaaabbbblllleeee
  18.      eeeexxxxppppoooorrrrttttSSSSeeeelllleeeeccccttttiiiioooonnnn iiiinnnnsssseeeerrrrttttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd    rrrreeeelllliiiieeeeffff           xxxxSSSSccccrrrroooollllllllCCCCoooommmmmmmmaaaannnndddd
  19.      ffffoooorrrreeeeggggrrrroooouuuunnnndddd      iiiinnnnsssseeeerrrrttttBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh   sssseeeelllleeeeccccttttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd
  20.      ffffoooonnnntttt            iiiinnnnsssseeeerrrrttttOOOOffffffffTTTTiiiimmmmeeee       sssseeeelllleeeeccccttttBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh
  21.  
  22.      See the ``options'' manual entry for details on the standard options.
  23.  
  24. WWWWIIIIDDDDGGGGEEEETTTT----SSSSPPPPEEEECCCCIIIIFFFFIIIICCCC OOOOPPPPTTTTIIIIOOOONNNNSSSS
  25.      Name:           sssshhhhoooowwww                                                     |
  26.      Class:          SSSShhhhoooowwww                                                     |
  27.      Command-Line Switch:----sssshhhhoooowwww                                                |
  28.  
  29.           If this option is specified, then the true contents of the entry are|
  30.           not displayed in the window.  Instead, each character in the entry's|
  31.           value will be displayed as the first character in the value of this |
  32.           option, such as ``*''.  This is useful, for example, if the entry is|
  33.           to be used to enter a password.  If characters in the entry are     |
  34.           selected and copied elsewhere, the information copied will be what  |
  35.           is displayed, not the true contents of the entry.
  36.  
  37.      Name:           ssssttttaaaatttteeee
  38.      Class:          SSSSttttaaaatttteeee
  39.      Command-Line Switch:----ssssttttaaaatttteeee
  40.  
  41.           Specifies one of two states for the entry:  nnnnoooorrrrmmmmaaaallll or ddddiiiissssaaaabbbblllleeeedddd.  If
  42.           the entry is disabled then the value may not be changed using widget
  43.           commands and no insertion cursor will be displayed, even if the
  44.           input focus is in the widget.
  45.  
  46.      Name:           wwwwiiiiddddtttthhhh
  47.      Class:          WWWWiiiiddddtttthhhh
  48.      Command-Line Switch:----wwwwiiiiddddtttthhhh
  49.  
  50.           Specifies an integer value indicating the desired width of the entry
  51.           window, in average-size characters of the widget's font.  If the    |
  52.           value is less than or equal to zero, the widget picks a size just   |
  53.           large enough to hold its current text.
  54.  
  55.  
  56. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  57.      The eeeennnnttttrrrryyyy command creates a new window (given by the _p_a_t_h_N_a_m_e argument)
  58.      and makes it into an entry widget.  Additional options, described above,
  59.      may be specified on the command line or in the option database to
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  71.  
  72.  
  73.  
  74.      configure aspects of the entry such as its colors, font, and relief.  The
  75.      eeeennnnttttrrrryyyy command returns its _p_a_t_h_N_a_m_e argument.  At the time this command is
  76.      invoked, there must not exist a window named _p_a_t_h_N_a_m_e, but _p_a_t_h_N_a_m_e's
  77.      parent must exist.
  78.  
  79.      An entry is a widget that displays a one-line text string and allows that
  80.      string to be edited using widget commands described below, which are
  81.      typically bound to keystrokes and mouse actions.  When first created, an
  82.      entry's string is empty.  A portion of the entry may be selected as
  83.      described below.  If an entry is exporting its selection (see the
  84.      eeeexxxxppppoooorrrrttttSSSSeeeelllleeeeccccttttiiiioooonnnn option), then it will observe the standard X11 protocols
  85.      for handling the selection;  entry selections are available as type
  86.      SSSSTTTTRRRRIIIINNNNGGGG.  Entries also observe the standard Tk rules for dealing with the
  87.      input focus.  When an entry has the input focus it displays an _i_n_s_e_r_t_i_o_n
  88.      _c_u_r_s_o_r to indicate where new characters will be inserted.
  89.  
  90.      Entries are capable of displaying strings that are too long to fit
  91.      entirely within the widget's window.  In this case, only a portion of the
  92.      string will be displayed;  commands described below may be used to change
  93.      the view in the window.  Entries use the standard xxxxSSSSccccrrrroooollllllllCCCCoooommmmmmmmaaaannnndddd
  94.      mechanism for interacting with scrollbars (see the description of the
  95.      xxxxSSSSccccrrrroooollllllllCCCCoooommmmmmmmaaaannnndddd option for details).  They also support scanning, as
  96.      described below.
  97.  
  98.  
  99. WWWWIIIIDDDDGGGGEEEETTTT CCCCOOOOMMMMMMMMAAAANNNNDDDD
  100.      The eeeennnnttttrrrryyyy command creates a new Tcl command whose name is _p_a_t_h_N_a_m_e.  This
  101.      command may be used to invoke various operations on the widget.  It has
  102.      the following general form:
  103.  
  104.           _p_a_t_h_N_a_m_e _o_p_t_i_o_n ?_a_r_g _a_r_g ...?
  105.  
  106.      _O_p_t_i_o_n and the _a_r_gs determine the exact behavior of the command.
  107.  
  108.      Many of the widget commands for entries take one or more indices as
  109.      arguments.  An index specifies a particular character in the entry's
  110.      string, in any of the following ways:
  111.  
  112.      _n_u_m_b_e_r      Specifies the character as a numerical index, where 0
  113.                  corresponds to the first character in the string.
  114.  
  115.      aaaannnncccchhhhoooorrrr      Indicates the anchor point for the selection, which is set   |
  116.                  with the sssseeeelllleeeecccctttt ffffrrrroooommmm and sssseeeelllleeeecccctttt aaaaddddjjjjuuuusssstttt widget commands.
  117.  
  118.      eeeennnndddd         Indicates the character just after the last one in the
  119.                  entry's string.  This is equivalent to specifying a numerical
  120.                  index equal to the length of the entry's string.
  121.  
  122.      iiiinnnnsssseeeerrrrtttt      Indicates the character adjacent to and immediately following
  123.                  the insertion cursor.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  137.  
  138.  
  139.  
  140.      sssseeeellll....ffffiiiirrrrsssstttt   Indicates the first character in the selection.  It is an
  141.                  error to use this form if the selection isn't in the entry
  142.                  window.
  143.  
  144.      sssseeeellll....llllaaaasssstttt    Indicates the character just after the last one in the       |
  145.                  selection.  It is an error to use this form if the selection
  146.                  isn't in the entry window.
  147.  
  148.      @@@@_n_u_m_b_e_r     In this form, _n_u_m_b_e_r is treated as an x-coordinate in the
  149.                  entry's window;  the character spanning that x-coordinate is
  150.                  used.  For example, ``@@@@0000'' indicates the left-most character
  151.                  in the window.
  152.  
  153.      Abbreviations may be used for any of the forms above, e.g. ``eeee'' or
  154.      ``sssseeeellll....ffff''.  In general, out-of-range indices are automatically rounded to
  155.      the nearest legal value.
  156.  
  157.      The following commands are possible for entry widgets:
  158.  
  159.      _p_a_t_h_N_a_m_e ccccggggeeeetttt _o_p_t_i_o_n
  160.           Returns the current value of the configuration option given by      |
  161.           _o_p_t_i_o_n.  _O_p_t_i_o_n may have any of the values accepted by the eeeennnnttttrrrryyyy    |
  162.           command.
  163.  
  164.      _p_a_t_h_N_a_m_e ccccoooonnnnffffiiiigggguuuurrrreeee ?_o_p_t_i_o_n? ?_v_a_l_u_e _o_p_t_i_o_n _v_a_l_u_e ...?
  165.           Query or modify the configuration options of the widget.  If no
  166.           _o_p_t_i_o_n is specified, returns a list describing all of the available
  167.           options for _p_a_t_h_N_a_m_e (see TTTTkkkk____CCCCoooonnnnffffiiiigggguuuurrrreeeeIIIInnnnffffoooo for information on the
  168.           format of this list).  If _o_p_t_i_o_n is specified with no _v_a_l_u_e, then
  169.           the command returns a list describing the one named option (this
  170.           list will be identical to the corresponding sublist of the value
  171.           returned if no _o_p_t_i_o_n is specified).  If one or more _o_p_t_i_o_n-_v_a_l_u_e
  172.           pairs are specified, then the command modifies the given widget
  173.           option(s) to have the given value(s);  in this case the command
  174.           returns an empty string.  _O_p_t_i_o_n may have any of the values accepted
  175.           by the eeeennnnttttrrrryyyy command.
  176.  
  177.      _p_a_t_h_N_a_m_e ddddeeeelllleeeetttteeee _f_i_r_s_t ?_l_a_s_t?
  178.           Delete one or more elements of the entry.  _F_i_r_s_t is the index of the
  179.           first character to delete, and _l_a_s_t is the index of the character   |
  180.           just after the last one to delete.  If _l_a_s_t isn't specified it
  181.           defaults to _f_i_r_s_t+1, i.e. a single character is deleted.  This
  182.           command returns an empty string.
  183.  
  184.      _p_a_t_h_N_a_m_e ggggeeeetttt
  185.           Returns the entry's string.
  186.  
  187.      _p_a_t_h_N_a_m_e iiiiccccuuuurrrrssssoooorrrr _i_n_d_e_x
  188.           Arrange for the insertion cursor to be displayed just before the
  189.           character given by _i_n_d_e_x.  Returns an empty string.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  203.  
  204.  
  205.  
  206.      _p_a_t_h_N_a_m_e iiiinnnnddddeeeexxxx _i_n_d_e_x
  207.           Returns the numerical index corresponding to _i_n_d_e_x.
  208.  
  209.      _p_a_t_h_N_a_m_e iiiinnnnsssseeeerrrrtttt _i_n_d_e_x _s_t_r_i_n_g
  210.           Insert the characters of _s_t_r_i_n_g just before the character indicated
  211.           by _i_n_d_e_x.  Returns an empty string.
  212.  
  213.      _p_a_t_h_N_a_m_e ssssccccaaaannnn _o_p_t_i_o_n _a_r_g_s
  214.           This command is used to implement scanning on entries.  It has two
  215.           forms, depending on _o_p_t_i_o_n:
  216.  
  217.           _p_a_t_h_N_a_m_e ssssccccaaaannnn mmmmaaaarrrrkkkk _x
  218.                Records _x and the current view in the entry window;  used in
  219.                conjunction with later ssssccccaaaannnn ddddrrrraaaaggggttttoooo commands.  Typically this
  220.                command is associated with a mouse button press in the widget.
  221.                It returns an empty string.
  222.  
  223.           _p_a_t_h_N_a_m_e ssssccccaaaannnn ddddrrrraaaaggggttttoooo _x
  224.                This command computes the difference between its _x argument and
  225.                the _x argument to the last ssssccccaaaannnn mmmmaaaarrrrkkkk command for the widget.
  226.                It then adjusts the view left or right by 10 times the
  227.                difference in x-coordinates.  This command is typically
  228.                associated with mouse motion events in the widget, to produce
  229.                the effect of dragging the entry at high speed through the
  230.                window.  The return value is an empty string.
  231.  
  232.      _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn _o_p_t_i_o_n _a_r_g
  233.           This command is used to adjust the selection within an entry.  It
  234.           has several forms, depending on _o_p_t_i_o_n:
  235.  
  236.           _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn aaaaddddjjjjuuuusssstttt _i_n_d_e_x
  237.                Locate the end of the selection nearest to the character given
  238.                by _i_n_d_e_x, and adjust that end of the selection to be at _i_n_d_e_x
  239.                (i.e including but not going beyond _i_n_d_e_x).  The other end of
  240.                the selection is made the anchor point for future sssseeeelllleeeecccctttt ttttoooo
  241.                commands.  If the selection isn't currently in the entry, then
  242.                a new selection is created to include the characters between
  243.                _i_n_d_e_x and the most recent selection anchor point, inclusive.
  244.                Returns an empty string.
  245.  
  246.           _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn cccclllleeeeaaaarrrr
  247.                Clear the selection if it is currently in this widget.  If the
  248.                selection isn't in this widget then the command has no effect.
  249.                Returns an empty string.
  250.  
  251.           _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn ffffrrrroooommmm _i_n_d_e_x
  252.                Set the selection anchor point to just before the character
  253.                given by _i_n_d_e_x.  Doesn't change the selection.  Returns an
  254.                empty string.
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  269.  
  270.  
  271.  
  272.           _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn pppprrrreeeesssseeeennnntttt
  273.                Returns 1 if there is are characters selected in the entry, 0  |
  274.                if nothing is selected.
  275.  
  276.           _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn rrrraaaannnnggggeeee _s_t_a_r_t _e_n_d
  277.                Sets the selection to include the characters starting with the |
  278.                one indexed by _s_t_a_r_t and ending with the one just before _e_n_d.  |
  279.                If _e_n_d refers to the same character as _s_t_a_r_t or an earlier one,|
  280.                then the entry's selection is cleared.
  281.  
  282.           _p_a_t_h_N_a_m_e sssseeeelllleeeeccccttttiiiioooonnnn ttttoooo _i_n_d_e_x
  283.                If _i_n_d_e_x is before the anchor point, set the selection to the
  284.                characters from _i_n_d_e_x up to but not including the anchor point.
  285.                If _i_n_d_e_x is the same as the anchor point, do nothing.  If _i_n_d_e_x
  286.                is after the anchor point, set the selection to the characters
  287.                from the anchor point up to but not including _i_n_d_e_x.  The
  288.                anchor point is determined by the most recent sssseeeelllleeeecccctttt ffffrrrroooommmm or
  289.                sssseeeelllleeeecccctttt aaaaddddjjjjuuuusssstttt command in this widget.  If the selection isn't
  290.                in this widget then a new selection is created using the most
  291.                recent anchor point specified for the widget.  Returns an empty
  292.                string.
  293.  
  294.      _p_a_t_h_N_a_m_e xxxxvvvviiiieeeewwww _a_r_g_s
  295.           This command is used to query and change the horizontal position of |
  296.           the text in the widget's window.  It can take any of the following  |
  297.           forms:
  298.  
  299.           _p_a_t_h_N_a_m_e xxxxvvvviiiieeeewwww
  300.                Returns a list containing two elements.  Each element is a real|
  301.                fraction between 0 and 1;  together they describe the          |
  302.                horizontal span that is visible in the window.  For example, if|
  303.                the first element is .2 and the second element is .6, 20% of   |
  304.                the entry's text is off-screen to the left, the middle 40% is  |
  305.                visible in the window, and 40% of the text is off-screen to the|
  306.                right.  These are the same values passed to scrollbars via the |
  307.                ----xxxxssssccccrrrroooollllllllccccoooommmmmmmmaaaannnndddd option.
  308.  
  309.           _p_a_t_h_N_a_m_e xxxxvvvviiiieeeewwww _i_n_d_e_x
  310.                Adjusts the view in the window so that the character given by  |
  311.                _i_n_d_e_x is displayed at the left edge of the window.
  312.  
  313.           _p_a_t_h_N_a_m_e xxxxvvvviiiieeeewwww mmmmoooovvvveeeettttoooo _f_r_a_c_t_i_o_n
  314.                Adjusts the view in the window so that the character _f_r_a_c_t_i_o_n
  315.                of the way through the text appears at the left edge of the
  316.                window.  _F_r_a_c_t_i_o_n must be a fraction between 0 and 1.
  317.  
  318.           _p_a_t_h_N_a_m_e xxxxvvvviiiieeeewwww ssssccccrrrroooollllllll _n_u_m_b_e_r _w_h_a_t
  319.                This command shifts the view in the window left or right       |
  320.                according to _n_u_m_b_e_r and _w_h_a_t.  _N_u_m_b_e_r must be an integer.  _W_h_a_t|
  321.                must be either uuuunnnniiiittttssss or ppppaaaaggggeeeessss or an abbreviation of one of     |
  322.                these.  If _w_h_a_t is uuuunnnniiiittttssss, the view adjusts left or right by    |
  323.                _n_u_m_b_e_r average-width characters on the display;  if it is ppppaaaaggggeeeessss|
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  335.  
  336.  
  337.  
  338.                then the view adjusts by _n_u_m_b_e_r screenfuls.  If _n_u_m_b_e_r is      |
  339.                negative then characters farther to the left become visible;   |
  340.                if it is positive then characters farther to the right become  |
  341.                visible.
  342.  
  343.  
  344. DDDDEEEEFFFFAAAAUUUULLLLTTTT BBBBIIIINNNNDDDDIIIINNNNGGGGSSSS
  345.      Tk automatically creates class bindings for entries that give them the
  346.      following default behavior.  In the descriptions below, ``word'' refers  |
  347.      to a contiguous group of letters, digits, or ``_'' characters, or any    |
  348.      single character other than these.
  349.  
  350.      [1]  Clicking mouse button 1 positions the insertion cursor just before
  351.           the character underneath the mouse cursor, sets the input focus to
  352.           this widget, and clears any selection in the widget.  Dragging with
  353.           mouse button 1 strokes out a selection between the insertion cursor
  354.           and the character under the mouse.
  355.  
  356.      [2]  Double-clicking with mouse button 1 selects the word under the mouse
  357.           and positions the insertion cursor at the beginning of the word.
  358.           Dragging after a double click will stroke out a selection consisting
  359.           of whole words.
  360.  
  361.      [3]  Triple-clicking with mouse button 1 selects all of the text in the
  362.           entry and positions the insertion cursor before the first character.
  363.  
  364.      [4]  The ends of the selection can be adjusted by dragging with mouse
  365.           button 1 while the Shift key is down;  this will adjust the end of
  366.           the selection that was nearest to the mouse cursor when button 1 was
  367.           pressed.  If the button is double-clicked before dragging then the
  368.           selection will be adjusted in units of whole words.
  369.  
  370.      [5]  Clicking mouse button 1 with the Control key down will position the
  371.           insertion cursor in the entry without affecting the selection.
  372.  
  373.      [6]  If any normal printing characters are typed in an entry, they are
  374.           inserted at the point of the insertion cursor.
  375.  
  376.      [7]  The view in the entry can be adjusted by dragging with mouse button
  377.           2.  If mouse button 2 is clicked without moving the mouse, the
  378.           selection is copied into the entry at the position of the insertion
  379.           cursor.
  380.  
  381.      [8]  If the mouse is dragged out of the entry on the left or right sides
  382.           while button 1 is pressed, the entry will automatically scroll to
  383.           make more text visible (if there is more text off-screen on the side
  384.           where the mouse left the window).
  385.  
  386.      [9]  The Left and Right keys move the insertion cursor one character to
  387.           the left or right;  they also clear any selection in the entry and
  388.           set the selection anchor.  If Left or Right is typed with the Shift
  389.           key down, then the insertion cursor moves and the selection is
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  401.  
  402.  
  403.  
  404.           extended to include the new character.  Control-Left and Control-
  405.           Right move the insertion cursor by words, and Control-Shift-Left and
  406.           Control-Shift-Right move the insertion cursor by words and also
  407.           extend the selection.  Control-b and Control-f behave the same as
  408.           Left and Right, respectively.  Meta-b and Meta-f behave the same as
  409.           Control-Left and Control-Right, respectively.
  410.  
  411.      [10] The Home key, or Control-a, will move the insertion cursor to the
  412.           beginning of the entry and clear any selection in the entry.
  413.           Shift-Home moves the insertion cursor to the beginning of the entry
  414.           and also extends the selection to that point.
  415.  
  416.      [11] The End key, or Control-e, will move the insertion cursor to the end
  417.           of the entry and clear any selection in the entry.  Shift-End moves
  418.           the cursor to the end and extends the selection to that point.
  419.  
  420.      [12] The Select key and Control-Space set the selection anchor to the
  421.           position of the insertion cursor.  They don't affect the current
  422.           selection.  Shift-Select and Control-Shift-Space adjust the
  423.           selection to the current position of the insertion cursor, selecting
  424.           from the anchor to the insertion cursor if there was not any
  425.           selection previously.
  426.  
  427.      [13] Control-/ selects all the text in the entry.
  428.  
  429.      [14] Control-\ clears any selection in the entry.
  430.  
  431.      [15] The F16 key (labelled Copy on many Sun workstations) or Meta-w
  432.           copies the selection in the widget to the clipboard, if there is a
  433.           selection.
  434.  
  435.      [16] The F20 key (labelled Cut on many Sun workstations) or Control-w
  436.           copies the selection in the widget to the clipboard and deletes the
  437.           selection.  If there is no selection in the widget then these keys
  438.           have no effect.
  439.  
  440.      [17] The F18 key (labelled Paste on many Sun workstations) or Control-y
  441.           inserts the contents of the clipboard at the position of the
  442.           insertion cursor.
  443.  
  444.      [18] The Delete key deletes the selection, if there is one in the entry.
  445.           If there is no selection, it deletes the character to the right of
  446.           the insertion cursor.
  447.  
  448.      [19] The BackSpace key and Control-h delete the selection, if there is
  449.           one in the entry.  If there is no selection, it deletes the
  450.           character to the left of the insertion cursor.
  451.  
  452.      [20] Control-d deletes the character to the right of the insertion
  453.           cursor.
  454.  
  455.  
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. eeeennnnttttrrrryyyy((((3333TTTTkkkk))))                                                          eeeennnnttttrrrryyyy((((3333TTTTkkkk))))
  467.  
  468.  
  469.  
  470.      [21] Meta-d deletes the word to the right of the insertion cursor.
  471.  
  472.      [22] Control-k deletes all the characters to the right of the insertion
  473.           cursor.
  474.  
  475.      [23] Control-w deletes the word to the left of the insertion cursor.
  476.  
  477.      [24] Control-t reverses the order of the two characters to the right of
  478.           the insertion cursor.
  479.  
  480.      If the entry is disabled using the ----ssssttttaaaatttteeee option, then the entry's view
  481.      can still be adjusted and text in the entry can still be selected, but no
  482.      insertion cursor will be displayed and no text modifications will take
  483.      place.
  484.  
  485.      The behavior of entries can be changed by defining new bindings for
  486.      individual widgets or by redefining the class bindings.
  487.  
  488.  
  489. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  490.      entry, widget
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.